#pragma once

#include "numa.h"

namespace DaseX {
namespace Numa {

// 定义系统环境变量
extern int SOCKETS;
extern int CORES;

// report the node of the specified cpu. -1/errno on invalid cpu. */
int get_socket(int core);

} // namespace Numa

// src/operator/agg/aggregation_hashtable.hpp
// AggHashTable(int bucket_num = AGG_TABLE_BUCKET_NUMS)16384
const int AGG_TABLE_BUCKET_NUMS = 1024;

} // namespace DaseX
